Skip to main content
MultiTEL logo
  • ABOUT
  • RESOURCES
    • Network Map
    • Rate Centers & LATAs
    • CPNI
    • Docs
    • Product Roadmap
  • SOLUTIONS.
    • E911
    • CNAM
    • PBX
    • Colocation
    • Call Routing LRN
    • LATA and Switch Data
    • Global Phone numbers
  • PRICING
  • DEVELOPERS
  • COVERAGE
  • CONTACT
  • LOGIN
  • SIGNUP
  • EN
    • EN
    • ID
    • RO
    • ES
    • PT
    • RU
    • IT
October 22, 2024

v3 Create encrypt file

Description:

creates an encrypted file

URI:

https://api.multitel.net/v3/create_encrypt_files

Parameters:

Required: (POST request only) 
- proof_type_id: proof type of encrypt file 
- files[] : file list to encrypt
- description : encrypted file description

Methods:

POST


Sample Output:

{
  "status": {
    "code": 200,
    "msg": "Encrypt file has been created successfully"
  },
  "response": {
    "entity_type": "identities",
    "proof_type": "971bc00f2ea07fbbceb773490295fda7",
    "ids": [
        {
          "id": "3a0334a5-ce0d-4fc5-a8fc-321231fad709",
          "name": "8376688.png",
          "expired_at": "2024-10-22 09:32:35"
        }
     ]
  }
}

Sample Code:

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.multitel.net/v3/create_encrypt_files',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => array('proof_type_id' => '971bc00f2ea07fbbceb773490295fda7','files[]'=> new CURLFILE('/C:/Users/AAA/Documents/8376688.png'),'description' => 'Passport'),
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json',
    'Accept: application/json',
    'Authorization: Basic YWRtaW46Vnc0OXB11',
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Similar Articles

January 07, 2015

GetCountries REST/JSON Service

READ MORE
January 09, 2015

GetAreas JSON Service

READ MORE
January 09, 2015

GetDIDs JSON Service

READ MORE
January 09, 2015

ReleaseNumber REST/JSON function

READ MORE
January 09, 2015

GetRingTo function

READ MORE
MultiTEL logo
  • COMPANY
  • PRICING
  • DEVELOPERS
  • CONTACT
  • SOLUTIONS
  • E911
  • CNAM
  • PBX
  • Call Routing LRN
  • LATA and Switch Data
  • Global Phone numbers
  • COVERAGE
  • International Numbers
  • Portability
  • Voice and SMS

ANYWHERE, ANYTIME

Hassle-free cost-effective
communications & collaboration solutions

SIGNUP NOW
PCI validation certificate Better Business Bureau Rating A plus rating badge in blue A+ BBB View BBB profile

© 2026. MultiTEL LLC. All rights reserved

Facebook X (formerly Twitter) LinkedIn YouTube
  • Terms of Service
  • Privacy Policy
  • Support
  • Contact